<?php

namespace App\Exception;

use Symfony\Component\Validator\ConstraintViolationListInterface;

/**
 * Description of NotLoginException
 *
 * @author vison.cao <visonforcoding@gmail.com>
 */
class MethodArgumentNotValidException extends \Exception
{
    /**
     * @var ConstraintViolationListInterface
     */
    private $errors;

    /**
     * @return ConstraintViolationListInterface
     */
    public function getErrors(): ConstraintViolationListInterface
    {
        return $this->errors;
    }

    /**
     * @param ConstraintViolationListInterface $errors
     */
    public function setErrors(ConstraintViolationListInterface $errors): void
    {
        $this->errors = $errors;
    }





}
